package database;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Test {
	public static void main(String[] args){
		//new ReadData().connection();
		
		DatabaseOperate dtb = new DatabaseOperate();
		dtb.connecion("192.168.1.213", "videose", "root", "ladjzero");
		String sql = "select * from baidu_lr";
		ResultSet rt = dtb.query(sql); 
		try {
			while(rt.next()){
				System.out.print(rt.getString(2));
			}
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
}
